.class public Lcom/zuiapps/suite/utils/uibase/BaseActivity;
.super Landroid/app/Activity;
.source "BaseActivity.java"


# instance fields
.field private firstTime:J

.field private ifExit:Ljava/lang/Boolean;

.field private mAlertDialog:Landroid/app/AlertDialog;

.field private network_err_count:I


# direct methods
.method public constructor <init>()V
    .registers 2

    .prologue
    .line 18
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 159
    const/4 v0, 0x0

    iput v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->network_err_count:I

    return-void
.end method

.method static synthetic access$000(Lcom/zuiapps/suite/utils/uibase/BaseActivity;)I
    .registers 2
    .param p0, "x0"    # Lcom/zuiapps/suite/utils/uibase/BaseActivity;

    .prologue
    .line 18
    iget v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->network_err_count:I

    return v0
.end method


# virtual methods
.method public defaultFinish()V
    .registers 1

    .prologue
    .line 202
    invoke-super {p0}, Landroid/app/Activity;->finish()V

    .line 203
    return-void
.end method

.method public finish()V
    .registers 3

    .prologue
    .line 197
    invoke-super {p0}, Landroid/app/Activity;->finish()V

    .line 198
    sget v0, Lcom/zuiapps/suite/utils/R$anim;->push_right_in:I

    sget v1, Lcom/zuiapps/suite/utils/R$anim;->push_right_out:I

    invoke-virtual {p0, v0, v1}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->overridePendingTransition(II)V

    .line 199
    return-void
.end method

.method protected handleFatalError()V
    .registers 2

    .prologue
    .line 188
    new-instance v0, Lcom/zuiapps/suite/utils/uibase/BaseActivity$4;

    invoke-direct {v0, p0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity$4;-><init>(Lcom/zuiapps/suite/utils/uibase/BaseActivity;)V

    invoke-virtual {p0, v0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 194
    return-void
.end method

.method protected handleMalformError()V
    .registers 2

    .prologue
    .line 178
    new-instance v0, Lcom/zuiapps/suite/utils/uibase/BaseActivity$3;

    invoke-direct {v0, p0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity$3;-><init>(Lcom/zuiapps/suite/utils/uibase/BaseActivity;)V

    invoke-virtual {p0, v0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 185
    return-void
.end method

.method protected handleNetworkError()V
    .registers 2

    .prologue
    .line 162
    iget v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->network_err_count:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->network_err_count:I

    .line 163
    new-instance v0, Lcom/zuiapps/suite/utils/uibase/BaseActivity$2;

    invoke-direct {v0, p0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity$2;-><init>(Lcom/zuiapps/suite/utils/uibase/BaseActivity;)V

    invoke-virtual {p0, v0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 175
    return-void
.end method

.method protected handleOutmemoryError()V
    .registers 2

    .prologue
    .line 151
    new-instance v0, Lcom/zuiapps/suite/utils/uibase/BaseActivity$1;

    invoke-direct {v0, p0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity$1;-><init>(Lcom/zuiapps/suite/utils/uibase/BaseActivity;)V

    invoke-virtual {p0, v0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 157
    return-void
.end method

.method protected hasExtra(Ljava/lang/String;)Z
    .registers 3
    .param p1, "pExtraKey"    # Ljava/lang/String;

    .prologue
    .line 52
    invoke-virtual {p0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    if-eqz v0, :cond_f

    .line 53
    invoke-virtual {p0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    .line 55
    :goto_e
    return v0

    :cond_f
    const/4 v0, 0x0

    goto :goto_e
.end method

.method protected hideKeyboard(Landroid/view/View;)V
    .registers 5
    .param p1, "view"    # Landroid/view/View;

    .prologue
    .line 142
    const-string v1, "input_method"

    invoke-virtual {p0, v1}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    .line 143
    .local v0, "imm":Landroid/view/inputmethod/InputMethodManager;
    invoke-virtual {p1}, Landroid/view/View;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    const/4 v2, 0x2

    invoke-virtual {v0, v1, v2}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    .line 144
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .registers 2
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 25
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 26
    return-void
.end method

.method protected openActivity(Ljava/lang/Class;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class",
            "<*>;)V"
        }
    .end annotation

    .prologue
    .line 59
    .local p1, "pClass":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->openActivity(Ljava/lang/Class;Landroid/os/Bundle;)V

    .line 60
    return-void
.end method

.method protected openActivity(Ljava/lang/Class;Landroid/os/Bundle;)V
    .registers 4
    .param p2, "pBundle"    # Landroid/os/Bundle;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class",
            "<*>;",
            "Landroid/os/Bundle;",
            ")V"
        }
    .end annotation

    .prologue
    .line 63
    .local p1, "pClass":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0, p0, p1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 64
    .local v0, "intent":Landroid/content/Intent;
    if-eqz p2, :cond_a

    .line 65
    invoke-virtual {v0, p2}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 67
    :cond_a
    invoke-virtual {p0, v0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->startActivity(Landroid/content/Intent;)V

    .line 68
    return-void
.end method

.method protected openActivity(Ljava/lang/String;)V
    .registers 3
    .param p1, "pAction"    # Ljava/lang/String;

    .prologue
    .line 71
    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->openActivity(Ljava/lang/String;Landroid/os/Bundle;)V

    .line 72
    return-void
.end method

.method protected openActivity(Ljava/lang/String;Landroid/os/Bundle;)V
    .registers 4
    .param p1, "pAction"    # Ljava/lang/String;
    .param p2, "pBundle"    # Landroid/os/Bundle;

    .prologue
    .line 75
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0, p1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 76
    .local v0, "intent":Landroid/content/Intent;
    if-eqz p2, :cond_a

    .line 77
    invoke-virtual {v0, p2}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 79
    :cond_a
    invoke-virtual {p0, v0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->startActivity(Landroid/content/Intent;)V

    .line 80
    return-void
.end method

.method public recommandToYourFriend(Ljava/lang/String;Ljava/lang/String;)V
    .registers 8
    .param p1, "url"    # Ljava/lang/String;
    .param p2, "shareTitle"    # Ljava/lang/String;

    .prologue
    .line 29
    new-instance v0, Landroid/content/Intent;

    const-string v2, "android.intent.action.SEND"

    invoke-direct {v0, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 30
    .local v0, "intent":Landroid/content/Intent;
    const-string v2, "text/plain"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    .line 31
    const-string v2, "android.intent.extra.TEXT"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "   "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 33
    const-string v2, "\u5206\u4eab"

    invoke-static {v0, v2}, Landroid/content/Intent;->createChooser(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;

    move-result-object v1

    .line 34
    .local v1, "itn":Landroid/content/Intent;
    invoke-virtual {p0, v1}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->startActivity(Landroid/content/Intent;)V

    .line 35
    return-void
.end method

.method public setAlertDialogIsClose(Landroid/content/DialogInterface;Ljava/lang/Boolean;)V
    .registers 7
    .param p1, "pDialog"    # Landroid/content/DialogInterface;
    .param p2, "pIsClose"    # Ljava/lang/Boolean;

    .prologue
    .line 84
    :try_start_0
    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class;

    move-result-object v2

    const-string v3, "mShowing"

    invoke-virtual {v2, v3}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v1

    .line 85
    .local v1, "field":Ljava/lang/reflect/Field;
    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Ljava/lang/reflect/Field;->setAccessible(Z)V

    .line 86
    invoke-virtual {v1, p1, p2}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V
    :try_end_15
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_15} :catch_16

    .line 90
    .end local v1    # "field":Ljava/lang/reflect/Field;
    :goto_15
    return-void

    .line 87
    :catch_16
    move-exception v0

    .line 88
    .local v0, "e":Ljava/lang/Exception;
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_15
.end method

.method protected showAlertDialog(ILjava/lang/String;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog;
    .registers 10
    .param p1, "pTitelResID"    # I
    .param p2, "pMessage"    # Ljava/lang/String;
    .param p3, "pOkClickListener"    # Landroid/content/DialogInterface$OnClickListener;

    .prologue
    const/4 v4, 0x0

    .line 98
    invoke-virtual {p0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    .local v1, "title":Ljava/lang/String;
    move-object v0, p0

    move-object v2, p2

    move-object v3, p3

    move-object v5, v4

    .line 99
    invoke-virtual/range {v0 .. v5}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->showAlertDialog(Ljava/lang/String;Ljava/lang/String;Landroid/content/DialogInterface$OnClickListener;Landroid/content/DialogInterface$OnClickListener;Landroid/content/DialogInterface$OnDismissListener;)Landroid/app/AlertDialog;

    move-result-object v0

    return-object v0
.end method

.method protected showAlertDialog(Ljava/lang/String;Ljava/lang/String;)Landroid/app/AlertDialog;
    .registers 4
    .param p1, "TitleID"    # Ljava/lang/String;
    .param p2, "Message"    # Ljava/lang/String;

    .prologue
    .line 93
    new-instance v0, Landroid/app/AlertDialog$Builder;

    invoke-direct {v0, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0, p2}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->mAlertDialog:Landroid/app/AlertDialog;

    .line 94
    iget-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->mAlertDialog:Landroid/app/AlertDialog;

    return-object v0
.end method

.method protected showAlertDialog(Ljava/lang/String;Ljava/lang/String;Landroid/content/DialogInterface$OnClickListener;Landroid/content/DialogInterface$OnClickListener;Landroid/content/DialogInterface$OnDismissListener;)Landroid/app/AlertDialog;
    .registers 8
    .param p1, "pTitle"    # Ljava/lang/String;
    .param p2, "pMessage"    # Ljava/lang/String;
    .param p3, "pOkClickListener"    # Landroid/content/DialogInterface$OnClickListener;
    .param p4, "pCancelClickListener"    # Landroid/content/DialogInterface$OnClickListener;
    .param p5, "pDismissListener"    # Landroid/content/DialogInterface$OnDismissListener;

    .prologue
    .line 104
    new-instance v0, Landroid/app/AlertDialog$Builder;

    invoke-direct {v0, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0, p2}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x104000a

    invoke-virtual {v0, v1, p3}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const/high16 v1, 0x1040000

    .line 105
    invoke-virtual {v0, v1, p4}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->mAlertDialog:Landroid/app/AlertDialog;

    .line 106
    if-eqz p5, :cond_27

    .line 107
    iget-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->mAlertDialog:Landroid/app/AlertDialog;

    invoke-virtual {v0, p5}, Landroid/app/AlertDialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 109
    :cond_27
    iget-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->mAlertDialog:Landroid/app/AlertDialog;

    return-object v0
.end method

.method protected showAlertDialog(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/DialogInterface$OnClickListener;Landroid/content/DialogInterface$OnClickListener;Landroid/content/DialogInterface$OnDismissListener;)Landroid/app/AlertDialog;
    .registers 9
    .param p1, "pTitle"    # Ljava/lang/String;
    .param p2, "pMessage"    # Ljava/lang/String;
    .param p3, "pPositiveButtonLabel"    # Ljava/lang/String;
    .param p4, "pNegativeButtonLabel"    # Ljava/lang/String;
    .param p5, "pOkClickListener"    # Landroid/content/DialogInterface$OnClickListener;
    .param p6, "pCancelClickListener"    # Landroid/content/DialogInterface$OnClickListener;
    .param p7, "pDismissListener"    # Landroid/content/DialogInterface$OnDismissListener;

    .prologue
    .line 115
    new-instance v0, Landroid/app/AlertDialog$Builder;

    invoke-direct {v0, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0, p2}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0, p3, p5}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 116
    invoke-virtual {v0, p4, p6}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->mAlertDialog:Landroid/app/AlertDialog;

    .line 117
    if-eqz p7, :cond_22

    .line 118
    iget-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->mAlertDialog:Landroid/app/AlertDialog;

    invoke-virtual {v0, p7}, Landroid/app/AlertDialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 120
    :cond_22
    iget-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->mAlertDialog:Landroid/app/AlertDialog;

    return-object v0
.end method

.method protected showLongToast(Ljava/lang/String;)V
    .registers 3
    .param p1, "pMsg"    # Ljava/lang/String;

    .prologue
    .line 44
    const/4 v0, 0x1

    invoke-static {p0, p1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 45
    return-void
.end method

.method protected showProgressDialog(ILjava/lang/String;Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/ProgressDialog;
    .registers 6
    .param p1, "pTitelResID"    # I
    .param p2, "pMessage"    # Ljava/lang/String;
    .param p3, "pCancelClickListener"    # Landroid/content/DialogInterface$OnCancelListener;

    .prologue
    .line 124
    invoke-virtual {p0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1, p1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 125
    .local v0, "title":Ljava/lang/String;
    invoke-virtual {p0, v0, p2, p3}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->showProgressDialog(Ljava/lang/String;Ljava/lang/String;Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/ProgressDialog;

    move-result-object v1

    return-object v1
.end method

.method protected showProgressDialog(Ljava/lang/String;Ljava/lang/String;Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/ProgressDialog;
    .registers 5
    .param p1, "pTitle"    # Ljava/lang/String;
    .param p2, "pMessage"    # Ljava/lang/String;
    .param p3, "pCancelClickListener"    # Landroid/content/DialogInterface$OnCancelListener;

    .prologue
    const/4 v0, 0x1

    .line 129
    invoke-static {p0, p1, p2, v0, v0}, Landroid/app/ProgressDialog;->show(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZ)Landroid/app/ProgressDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->mAlertDialog:Landroid/app/AlertDialog;

    .line 130
    iget-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->mAlertDialog:Landroid/app/AlertDialog;

    invoke-virtual {v0, p3}, Landroid/app/AlertDialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V

    .line 131
    iget-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->mAlertDialog:Landroid/app/AlertDialog;

    check-cast v0, Landroid/app/ProgressDialog;

    return-object v0
.end method

.method protected showShortToast(I)V
    .registers 3
    .param p1, "pResId"    # I

    .prologue
    .line 40
    invoke-virtual {p0, p1}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->showShortToast(Ljava/lang/String;)V

    .line 41
    return-void
.end method

.method protected showShortToast(Ljava/lang/String;)V
    .registers 3
    .param p1, "pMsg"    # Ljava/lang/String;

    .prologue
    .line 48
    const/4 v0, 0x0

    invoke-static {p0, p1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 49
    return-void
.end method

.method public twiceBack()Z
    .registers 7

    .prologue
    const/4 v5, 0x1

    const/4 v4, 0x0

    .line 213
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->firstTime:J

    sub-long/2addr v0, v2

    const-wide/16 v2, 0xbb8

    cmp-long v0, v0, v2

    if-gez v0, :cond_21

    .line 214
    invoke-static {v5}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->ifExit:Ljava/lang/Boolean;

    .line 220
    :goto_15
    iget-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->ifExit:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_20

    .line 222
    invoke-virtual {p0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->finish()V

    .line 225
    :cond_20
    return v5

    .line 216
    :cond_21
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->firstTime:J

    .line 217
    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->ifExit:Ljava/lang/Boolean;

    .line 218
    invoke-virtual {p0}, Lcom/zuiapps/suite/utils/uibase/BaseActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v1, Lcom/zuiapps/suite/utils/R$string;->press_again_exit:I

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_15
.end method
